Automattic\Jetpack\My_Jetpack\Products\Protect S

Total Complexity 24
Dependencies 4
Dependents 1
Total lines 339
Lines of code 179
Logical lines of code 34
Comment lines 113
Methods 16
Properties 6

Methods 16

Method Rating Maintainability Complexity Lines of code
has_paid_plan_for_product()
S
53 7 23
get_features_by_tier()
S
42 1 75
get_state_from_wpcom()
S
58 3 14
get_pricing_for_ui()
S
59 1 17
get_name()
S
81 1 3
get_title()
S
81 1 3
get_description()
S
79 1 3
get_long_description()
S
79 1 3
get_features()
S
68 1 8
get_tiers()
S
72 1 6
is_upgradable()
S
79 1 3
get_post_checkout_url()
S
80 1 3
get_post_checkout_urls_by_feature()
S
71 1 6
get_manage_url()
S
80 1 3
get_manage_urls_by_feature()
S
71 1 6
is_upgradable_by_bundle()
S
79 1 3